<!DOCTYPE html>
<body>
  <script>
    window.onportalactivate = e => e.adoptPredecessor().activate();
  </script>
</body>
